package com.restaurantonlineorder.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author 熊宇
 * @date 2022/7/22 15:14
 * @description
 */
@Data
@ConfigurationProperties(prefix = "restaurant.gateway")
public class RestaurantGatewayProperties {

    /**
     * 放行路径集合
     */
    private List<String> ignoreUrls;


    /**
     * 商家路径
     */
    public static final String SELLERPATH = "/seller/**";


    /**
     * 买家路径
     */
    public static final String BUYERPATH = "/buyer/**";
    

}
